POV-Ray : Newsgroups : povray.general : GCSpheres! : Re: GCSpheres! Server Time
31 Jul 2024 16:29:40 EDT (-0400)
  Re: GCSpheres!  
From: Trevor G Quayle
Date: 23 Nov 2006 12:05:01
Message: <web.4565d40ba21c67a0c150d4c10@news.povray.org>
"nemesis" <nam### [at] gmailcom> wrote:
> "Doctor John" <doc### [at] linuxmailorg> wrote:
> > I'm a
> > little p****d off that they don't have POV down as one their preferred
> > ray-tracers tho'
>
> me too!  Actually, i tried emulating the "template" scene they provided, but
> have messed up it many times by trying to get the uv_mapped texture right,
> with no luck.  Does anyone know how to get it done?
>
> here goes it:
>
> #declare t_plane = texture {
>         //pigment { checker rgb 1 rgb .7 scale .75 }
>         pigment { cells color_map {[0 rgb .8][1 rgb 1]}}
>         finish { ambient .3 diffuse .6 }
> }
>
>
> union {
>         light_source { 8*(4-8*z) 1 }
>
>         difference {
>                 box{-<9,4,4>,<9,4,4> pigment { rgbt 1 }}
>                 cylinder {-8*x,8*x 4 translate -z*4+y*4 }
>                 //texture { uv_mapping t_plane translate -y*.4 }
>         }
>         plane { y,0 }//texture { t_plane translate z*.2 } }
>         plane { -z,-5 }//texture { t_plane translate z*.2 } }
>
>         sphere { y-12*z, 1 pigment { rgb 1 } }
>         texture { uv_mapping t_plane scale z*.2 }
>
>         rotate -x*5
>         translate 18*z
> }
>
> camera { location -z*8 angle 20 }

I created a POV template and posted in p.b.s-f

"For anyone who wants to participate in the CGSphere project mentioned in
p.g "CGSphere!" I have created a POV template attached.
This contains the plane in mesh2 format as well as the sphere in both mesh2
and POV sphere format for reference.  The correct viewpoint/angle has been
chosen.  The texture for the plane has also been converted to a POV
procedural rather than an image map."

-tgq


-tgq


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.